package mn.idax.exchange.otc.service;

import mn.idax.exchange.otc.domain.SimpleUserLanguage;
import mn.idax.exchange.otc.domain.UserLanguageRequest;
import mn.idax.exchange.otc.entity.UserLanguage;

import java.util.List;

/**
 * @Author: jack_huang
 * @Date: 2019/1/3 17:51
 */
public interface UserLanguageService {

    UserLanguage queryLanguage(UserLanguageRequest userLanguageRequest);

    void insertLanguage(UserLanguageRequest userLanguageRequest);

    void updateLanguage(UserLanguageRequest userLanguageRequest);

    List<UserLanguage> queryLanguageByUserId(Integer userId);

    List<SimpleUserLanguage> getBuyerAndSellerSimpleLanguage(Integer buyer, Integer seller);

    SimpleUserLanguage getUsererSimpleLanguage(Integer userId);
}
